package com.innovations.inn.mapper;

import com.innovations.inn.domain.EnterpriseQualification;

import java.util.List;

/**
 * 企业资质Mapper接口
 *
 * @author dp
 * @date 2024-08-09
 */
public interface EnterpriseQualificationMapper {
    /**
     * 查询企业资质
     *
     * @param enterpriseQualificationId 企业资质主键
     * @return 企业资质
     */
    EnterpriseQualification selectEnterpriseQualificationByEnterpriseQualificationId(Long enterpriseQualificationId);

    /**
     * 查询企业资质列表
     *
     * @param enterpriseQualification 企业资质
     * @return 企业资质集合
     */
    List<EnterpriseQualification> selectEnterpriseQualificationList(EnterpriseQualification enterpriseQualification);

    /**
     * 新增企业资质
     *
     * @param enterpriseQualification 企业资质
     * @return 结果
     */
    int insertEnterpriseQualification(EnterpriseQualification enterpriseQualification);

    /**
     * 修改企业资质
     *
     * @param enterpriseQualification 企业资质
     * @return 结果
     */
    int updateEnterpriseQualification(EnterpriseQualification enterpriseQualification);

    /**
     * 删除企业资质
     *
     * @param enterpriseQualificationId 企业资质主键
     * @return 结果
     */
    int deleteEnterpriseQualificationByEnterpriseQualificationId(Long enterpriseQualificationId);

    /**
     * 批量删除企业资质
     *
     * @param enterpriseQualificationIds 需要删除的数据主键集合
     * @return 结果
     */
    int deleteEnterpriseQualificationByEnterpriseQualificationIds(Long[] enterpriseQualificationIds);
}
